Cubemap textures combine six square-shaped images into one texture to represent reflections of the environment. Each image represents the scenery in one of the six directions along the X, Y, and Z axes from the viewpoint of the cubemapped object.
Before you can create a cubemap texture in Kanzi Studio you first have to create the texture images of the six cube faces for the cubemap. You can create the six texture images in the third-party tool where you created the mesh object on which you want to use the cubemap texture, and import the images to Kanzi Studio.
Make sure that all faces of a cubemap texture use images of the same size and format. When size and format of the images in a cubemap texture do not match, Kanzi Engine converts them during the loading of your Kanzi application using the CPU of the target platform. This can significantly increase the amount of time it takes to launch your application.
For example, use for all faces of the cubemap texture images that are 256 by 256 pixels large and are 8-bit grayscale.
When the size and format of images in a cubemap texture do not match, Kanzi Studio prints these warnings to the Log window:
Application WARNING: The faces of the cubemap texture '<TextureName>' use images of different sizes. To improve the performance of your application, make sure all faces use images of the same size. Application WARNING: The faces of the cubemap texture '<TextureName>' use images with different data formats. To improve the performance of your application, make sure the images of all faces use the same data format.
To create a cubemap texture: